/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;
import org.lucava.boatskeeper.server.service.ActionResult;
import org.lucava.boatskeeper.shared.dto.UserDto;

/**
 *
 * @author glenn
 */
@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {

    public List<UserDto> getUsers();

    public UserDto getUser(Integer id);

    public Boolean saveUser(UserDto user);

    public Boolean removeUser(UserDto user);

    public Boolean removeUsers(List<Integer> userIds);
}
